// =================================================================
// File: config.h
// Desc: Contains constant values used throughout filesystem
// =================================================================

#ifndef CONFIG_H
#define CONFIG_H

#define FS_SIZE 104857600
#define BLOCK_SIZE 512
#define NUM_INODES 12500
#define INODE_SIZE 84
#define SB_BK 20
#define INT_SIZE 4
#define FS_NAME "filesystem"
#define NUM_BLOCK_LOCATIONS 15
#define NUM_DIRECT_LINKS 12
#define NUM_SINGLY_INDIRECT_LINKS 128
#define NUM_DOUBLY_INDIRECT_LINKS 16384
#define NUM_TRIPLY_INDIRECT_LINKS 2097152
#define CACHE_SIZE 10485760
#define READ_MODE 0
#define WRITE_MODE 1
#define READWRITE_MODE 2

#endif // CONFIG_H
